import request from '@/utils/request';

interface ListParamsType {
  username: string;
}

export async function queryUser(params: ListParamsType): Promise<any> {
  return request('/api/user', { params });
}